<?php

/**
 * uniBoard Small exception (that doesnt causes software to crash)
 *
 * Light and fast forum solution for web 2.0-like communities.
 *
 * @package		uniBoard
 * @author		Rafał Pitoń
 * @license		http://www.gnu.org/licenses/gpl-3.0.html
 * @since		Version 0.1
 * 
 * ------------------------------------------------------------------------
 * 
 * $Date: 2010-08-23 16:49:41 +0000 (Mon, 23 Aug 2010) $
 * $Revision: 45 $
 * $Author: rafio.xudb@gmail.com $
 */

// ------------------------------------------------------------------------

class exc_small extends Exception{
	
	/**
	 * Exception title
	 *
	 * @var string
	 */
	
	public $title		= '';
	
	/**
	 * Exception message
	 *
	 * @var string
	 */
	
	public $message		= '';
	
	// ------------------------------------------------------------------------
	
	/**
	 * Exception constructor
	 *
	 * @param string $ext_type
	 * @param string $exc_message
	 */
	
	function __construct( $message, $title = ''){
		
		// Pass variables from function arguments to in-class variables
		$this -> message	= $message;
		$this -> title		= $title;
				
	}
		
}